package com.ccjt.efcfs.dto;

import java.util.Date;

/**
 * 还款分期计划
 */
public class RepayPlan {

    private String batchNo; // 批次号
    private Integer totalPeriods; // 总期数
    private Integer curPeriod; // 当前期数
    private Integer curPeriodOrder;  // 当前期数序号=当前期数x10
    private Date beginDate; // 本期开始日期
    private Date curDate; // 本期还款日期
    private Integer curPeriodNatureDays; // 本期自然天数
    private Double perPeriodRate; // 分期利率
    private Double financeDayRate; // (金融)日利率 : 360
    private Double natureDayRate; // (自然)日利率 : 365/366
    private Double actualDayRate; // (实际计算)日利率
    private Double perRepayPrincipal; // 本期归还本金
    private Double perRepayInterest; // 本期归还利息
    private Double perRepayPrincipalInterest; // 本期归还本息合计
    private Double beginResidualPrincipal; // 本期开始剩余本金
    private Double perResidualPrincipal; // 本期剩余本金
    private Double perRepayActualPrincipal; // 本期(实际)归还本金
    private Double perRepayActualInterest; // 本期(实际)归还本金
    private Double perRepayActualTotal; // 本期(实际)归还本息合计

    /**
     * 当前期数序号=当前期数x10
     */
    public Integer getCurPeriodOrder() {
        return curPeriod * 10;
    }

    /**
     * ********************************************
     */
    public String getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo;
    }

    public Integer getTotalPeriods() {
        return totalPeriods;
    }

    public void setTotalPeriods(Integer totalPeriods) {
        this.totalPeriods = totalPeriods;
    }

    public Integer getCurPeriod() {
        return curPeriod;
    }

    public void setCurPeriod(Integer curPeriod) {
        this.curPeriod = curPeriod;
    }

    public Date getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(Date beginDate) {
        this.beginDate = beginDate;
    }

    public Date getCurDate() {
        return curDate;
    }

    public void setCurDate(Date curDate) {
        this.curDate = curDate;
    }

    public Integer getCurPeriodNatureDays() {
        return curPeriodNatureDays;
    }

    public void setCurPeriodNatureDays(Integer curPeriodNatureDays) {
        this.curPeriodNatureDays = curPeriodNatureDays;
    }

    public Double getPerPeriodRate() {
        return perPeriodRate;
    }

    public void setPerPeriodRate(Double perPeriodRate) {
        this.perPeriodRate = perPeriodRate;
    }

    public Double getFinanceDayRate() {
        return financeDayRate;
    }

    public void setFinanceDayRate(Double financeDayRate) {
        this.financeDayRate = financeDayRate;
    }

    public Double getNatureDayRate() {
        return natureDayRate;
    }

    public void setNatureDayRate(Double natureDayRate) {
        this.natureDayRate = natureDayRate;
    }

    public Double getActualDayRate() {
        return actualDayRate;
    }

    public void setActualDayRate(Double actualDayRate) {
        this.actualDayRate = actualDayRate;
    }

    public Double getPerRepayPrincipal() {
        return perRepayPrincipal;
    }

    public void setPerRepayPrincipal(Double perRepayPrincipal) {
        this.perRepayPrincipal = perRepayPrincipal;
    }

    public Double getPerRepayInterest() {
        return perRepayInterest;
    }

    public void setPerRepayInterest(Double perRepayInterest) {
        this.perRepayInterest = perRepayInterest;
    }

    public Double getPerRepayPrincipalInterest() {
        return perRepayPrincipalInterest;
    }

    public void setPerRepayPrincipalInterest(Double perRepayPrincipalInterest) {
        this.perRepayPrincipalInterest = perRepayPrincipalInterest;
    }

    public Double getBeginResidualPrincipal() {
        return beginResidualPrincipal;
    }

    public void setBeginResidualPrincipal(Double beginResidualPrincipal) {
        this.beginResidualPrincipal = beginResidualPrincipal;
    }

    public Double getPerResidualPrincipal() {
        return perResidualPrincipal;
    }

    public void setPerResidualPrincipal(Double perResidualPrincipal) {
        this.perResidualPrincipal = perResidualPrincipal;
    }

    public Double getPerRepayActualPrincipal() {
        return perRepayActualPrincipal;
    }

    public void setPerRepayActualPrincipal(Double perRepayActualPrincipal) {
        this.perRepayActualPrincipal = perRepayActualPrincipal;
    }

    public Double getPerRepayActualInterest() {
        return perRepayActualInterest;
    }

    public void setPerRepayActualInterest(Double perRepayActualInterest) {
        this.perRepayActualInterest = perRepayActualInterest;
    }

    public Double getPerRepayActualTotal() {
        return perRepayActualTotal;
    }

    public void setPerRepayActualTotal(Double perRepayActualTotal) {
        this.perRepayActualTotal = perRepayActualTotal;
    }

}
